/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.guangfan.modules.partymember.entity;

import org.hibernate.validator.constraints.Length;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 党员管理Entity
 * @author baibing
 * @version 2016-03-07
 */
public class PartyMember extends DataEntity<PartyMember> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 姓名
	private String birthday;		// 生日
	
	public PartyMember() {
		super();
	}

	public PartyMember(String id){
		super(id);
	}

	@Length(min=1, max=64, message="姓名长度必须介于 1 和 64 之间")
	@ExcelField(title="姓名", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="生日", align=2, sort=8)
	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
}